//package com.bjsxt.service.impl;
//
//import com.alicp.jetcache.anno.CacheType;
//import com.alicp.jetcache.anno.Cached;
//import com.bjsxt.model.WebLog;
//import com.bjsxt.service.TestService;
//import org.springframework.stereotype.Service;
//
///**
// * @Description: test service 实现
// * @ClassName: TestServiceImpl
// * @Author: chenyu
// * @Date: 2025/3/6 16:21
// */
//@Service
//public class TestServiceImpl implements TestService {
//    /**
//     * 通过username 查询webLog
//     * @param username
//     * @return
//     */
//
//    @Cached(name = "com.bjsxt.service.impl.TestServiceImpl:",key = "#username" ,cacheType = CacheType.BOTH)
//    public WebLog get(String username) {
//        WebLog webLog = WebLog.builder()
//                .username(username)
//                .result("ok")
//                .build();
//        return webLog;
//    }
//}
